﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MP/NTD_NoSlide.Master" AutoEventWireup="true" CodeBehind="ListUngVien.aspx.cs" Inherits="TimViec.NTD.ListUngVien" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h1 class="m_bottom20">
        Danh sách ứng viên đã nộp hồ sơ</h1>
    <div class="bg_white p_10">
        <table cellspacing="10" cellpadding="0" width="100%">
            <tr>
                <td style="width: 125px;">
                    Chọn vị trí ứng tuyển:
                </td>
                <td align="left">
                    <asp:DropDownList runat="server" ID="droTinTuyenDung" CssClass="select" Width="300px" />
                </td>
                <td align="right">Trạng thái:</td>
                <td align="right" style="text-align: right; width: 180px;">                    
                    <asp:DropDownList runat="server" ID="droTrangThai" CssClass="select" Width="150px">
                        <asp:ListItem Value="-1">---Tất cả ---</asp:ListItem>
                        <asp:ListItem Value="1">Chưa đọc</asp:ListItem>
                        <asp:ListItem Value="2">Đã đọc</asp:ListItem>                        
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td colspan="3">
                    <asp:Button runat="server" ID="btSearch" Text="Tìm kiếm" CssClass="button2" 
                        onclick="btSearch_Click" />
                </td>
            </tr>
        </table>
        <br/>
        <table cellspacing="0" cellpadding="0" class="tablesorter">
            <thead>
                <tr>
                    <th width="20px">STT</th>
                    <th>Xem</th>
                    <th>Vị trí ứng tuyển</th>
                    <th>Tên</th>
                    <th width="90px">Ngày nhận</th>
                    <th>trạng thái</th>                          
                    <th width="80px">
                        Tạo thư trả lời
                    </th>
                </tr>
            </thead>            
            <asp:Repeater runat="server" ID="rptListUV" 
                onitemcommand="rptListUV_ItemCommand">
                <ItemTemplate>
                    <tr>
                        <td><%#Container.ItemIndex +1 %></td>
                        <td><asp:LinkButton runat="server" ID="lbtXem" CommandName="Xem" CommandArgument='<%#Eval("id") %>'>Xem</asp:LinkButton></td>
                        <td><%#Eval("ChucDanh") %></td>
                        <td><%#Eval("UserName") %></td>
                        <td><%#Eval("NgayGui") %></td>                        
                        <td><%#Eval("TrangThai") %></td>                        
                        <td>
                            <asp:LinkButton runat="server" ID="lbtEdit" CommandName="Email" CommandArgument='<%#Eval("id") %>' CssClass="tk" ToolTip="Chọn">Chọn</asp:LinkButton>                            
                        </td>
                    </tr>
                </ItemTemplate>
            </asp:Repeater>
        </table>
        <div class="fr clearfix" style="background: #ffffff; padding: 15px; width: 90%;">
            <ul class="paging">
                <li><asp:LinkButton runat="server" ID="lbtPreview" onclick="lbtPreview_Click">« Trước</asp:LinkButton></li>
                <asp:Literal ID="ltlPaging" runat="server" />
                <li><asp:LinkButton runat="server" ID="lbtNext" onclick="lbtNext_Click">Tiếp theo »</asp:LinkButton></li>                
            </ul>
        </div>
        <div class="clearfix"></div>
    </div>
</asp:Content>
